{% extends '__layout_3col.html' %}
{% block pageTitle %}{% parent %} - Смена пароля{%endblock%}

{% block layoutLeftColumn %}
    {% include '_left_menu_profile.html' %}
{% endblock %}

{% block layoutCenterColumn %}
    <div class="block">
        <h2>Смена пароля</h2>
        <form action="" method="post">
	    {{error.show(USER_ERRORS, 'сhangePasswordGlobalErrors')}}

            <input type="hidden" name="action" value="change_pwd_post"  />
	    
            {{error.show(USER_ERRORS, 'wrongPassword')}}
            <p>
                <strong>Старый пароль</strong><br/>
                <input name="password" type="password" value="" />
            </p>
            {{error.show(USER_ERRORS, 'invalidPasswords')}}
            <table class="formTable">
                <tr>
                    <td>
                        <strong>Новый пароль</strong><br/>
                        <input name="newpassword_1" type="password" value="" />
                    </td>
                    <td>
                        <strong>Повторите пароль</strong><br/>
                        <input name="newpassword_2" type="password" value="" />
                    </td>
                </tr>
            </table>
           <input type="submit" value="Поменять" />
        </form>
    </div>
{% endblock %}
